import { signDetail } from "../signIn/interface";

//一节课所需信息
interface Course { name: string, time: string, location: string, teacher: string, weeks: string, day: string ,id:number,note:string,signDetail:signDetail,sr_id:number,type:string,week:number}
interface dailySignCourse extends Course{
	normal:number,
	late:number,
	absent:number,
	other:number,
	signRate:string,
	course_id:number,
}
//课程表前端一格内容所需信息
interface cur_piece{
	background_color:string,
	border_radius:string,
	text:string | "",
	id:number,
}
interface Curriculum{
	[key:string]:{[key:number]:cur_piece}
}
export{
	Course,
	cur_piece,
	Curriculum,
	dailySignCourse
}
